This is a simulation of brownian motion of a particle that collides with a large set of smaller particles which move with uniform motion in different random directions.
Some conditions are added to the model to simulate the evaporation and condensation of water If the velocity is larger than some maximum value it will escape from the water surface (become gas state) when it is near the surface.